<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>信息分享</title>
		<link rel="stylesheet" type="text/css" href="css/sharing20190517.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/style.css"/>
    <link rel="stylesheet" type="text/css" href="../js/mint-ui/mint-ui.css"/>
		<script src="../../js/set_root.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>

		<div class="sharing" id="sharing" v-cloak>
			<div class="sharing_header">
				<img src="../../image/member_fanhui.png"/>
				<span><a href="javascript:;" @click="goback">返回</a></span>
				<h2>信息分享</h2>
		    </div>
		    <div class="sharing_center">
            <ul v-infinite-scroll="loadMore" infinite-scroll-disabled="loading">
							<template v-if="sharelist && sharelist.length > 0">
                <li v-for="(share,index) in sharelist" :key="share.selfOrderId">
                    <div class="sharing_title">
                      <p>{{share.createTime}}</p>
                      <span v-if="share.status === 'WAIT_DEAL'">等待处理</span><span v-else>已处理</span>
                    </div>
                    <div class="sharing_content">
                      <h3>{{share.brandName}} {{share.goodsName}} {{share.attrValue}}</h3>
                      <p><template v-if="share.status === 'WAIT_DEAL'">温馨提示：请尽快处理此信息分享任务</template><template v-else>温馨提示：已完成此信息分享任务</template></p>
                      <div class="btn_share" v-show="share.status === 'WAIT_DEAL'"><button class="btn_no" @click="btnNoPrice(index)">暂无价格</button><button class="btn_yes" @click="btnHavePrice(index)">有价格</button><button class="btn_jump" @click="btnShareJump(share)">去分享价格</button></div></div>
								</li>
							</template>
							<div class="sharing-noResult" v-else>暂无分享信息任务</div>
            </ul>
		    </div>

		 	</div>


		</div>


		<script src="../js/layout.js" type="text/javascript" charset="utf-8"></script>
    <script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="../js/axios.min.js"></script>
    <script src="../js/fetch20190612.js"></script>
    <script type="text/javascript" src="../js/mint-ui/mint-ui.js"></script>
    <script src="js/sharing20190517.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
